메인 콘텐츠로 건너뛰기
POST
/
campaigns
Create a campaign
curl --request POST \
  --url https://your_a2_service/campaigns \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "audience_segments": {},
  "bid_strategy": "highest_volume",
  "budget": 0,
  "created_at": "2023-11-07T05:31:56Z",
  "crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "daily_budget": 123,
  "description": "<string>",
  "end_date": "2023-11-07T05:31:56Z",
  "goal": "click",
  "max_bid": 0,
  "min_daily_imp": 1000,
  "name": "<string>",
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "start_date": "2023-11-07T05:31:56Z",
  "status": "okay",
  "sub_goal": "<string>",
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "target_cpa": 0,
  "target_cpm": 0,
  "target_volume": 0,
  "updated_at": "2023-11-07T05:31:56Z"
}'
{
  "audience_segments": {},
  "bid_strategy": "highest_volume",
  "budget": 0,
  "created_at": "2023-11-07T05:31:56Z",
  "crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "daily_budget": 123,
  "description": "<string>",
  "end_date": "<string>",
  "goal": "click",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "max_bid": 0,
  "min_daily_imp": 1000,
  "name": "<string>",
  "no": 123,
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "start_date": "<string>",
  "status": "okay",
  "sub_goal": "<string>",
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "target_cpa": 0,
  "target_cpm": 0,
  "target_volume": 0,
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

캠페인 생성을 위한 스키마

bid_strategy
enum<string>
required
deprecated

캠페인을 위한 입찰 전략

사용 가능한 옵션:
highest_volume,
bid_cap
end_date
string<date-time>
required

캠페인의 종료 일시 (UTC 시간을 사용하는 것을 강력히 권장합니다)

goal
enum<string>
required

캠페인 목표

사용 가능한 옵션:
click,
reach,
impression,
conversion
name
string
required

캠페인 이름

owner_id
string<uuid>
required

캠페인의 소유자 id

start_date
string<date-time>
required

캠페인의 시작 일시 (UTC 시간 사용 권장)

status
enum<string>
required

캠페인 상태 정보

사용 가능한 옵션:
okay,
preparing,
ready,
archived
audience_segments
object | null

타켓팅을 위한 오디언스 세그먼트 목록

budget
number
default:0

캠페인의 총 예산

created_at
string<date-time> | null

생성 일시

crid
string<uuid> | null
deprecated
daily_budget
number | null
deprecated
description
string | null

The description of the campaign

max_bid
number
default:0

최대 입찰가 (입찰 전략을 maximize_volume으로 설정한 경우에만 유효함)

Required range: x >= 0
min_daily_imp
number
default:1000

내부 사용 목적

Required range: x >= 1000
sub_goal
string | null

캠페인 세부 목표

tagid
string<uuid> | null
deprecated
target_cpa
number
default:0

결과당 목표 비용

Required range: x >= 0
target_cpm
number
default:0

1000번 노출당 지출하기 윈하는 희망가 (세부목표를 target_cpm으로 설정한 경우에만 유효함)

Required range: x >= 0
target_volume
number
default:0

캠페인 기간 내에 보장받을 노출수 (세부목표를 target_volume으로 설정한 경우에만 유효함)

Required range: x >= 0
updated_at
string<date-time> | null

변경 일시

Response

Successful Response

캠페인의 모든 속성을 정의한 스키마

bid_strategy
enum<string>
required
deprecated

캠페인을 위한 입찰 전략

사용 가능한 옵션:
highest_volume,
bid_cap
end_date
string
required

캠페인의 종료 일시 (UTC 시간 사용 권장)

goal
enum<string>
required

캠페인 목표

사용 가능한 옵션:
click,
reach,
impression,
conversion
name
string
required

캠페인 이름

no
integer
required
owner_id
string<uuid>
required

캠페인의 소유자 id

start_date
string
required

캠페인의 시작 일시 (UTC 시간 사용 권장)

status
enum<string>
required

캠페인 상태 정보

사용 가능한 옵션:
okay,
preparing,
ready,
archived
audience_segments
object | null

타겟팅을 위한 오디언스 세그먼트 목록

budget
number
default:0

캠페인의 총 예산

created_at
string<date-time> | null

생성 일시

crid
string<uuid> | null
deprecated
daily_budget
number | null
deprecated
description
string | null

The description of the campaign

id
string<uuid>

캠페인의 id

max_bid
number
default:0

최대 입찰가 (입찰 전략을 maximize_volume으로 설정한 경우에만 유효함)

Required range: x >= 0
min_daily_imp
number
default:1000

내부 사용 목적

Required range: x >= 1000
sub_goal
string | null

캠페인 세부 목표

tagid
string<uuid> | null
deprecated
target_cpa
number
default:0

결과당 목표 비용

Required range: x >= 0
target_cpm
number
default:0

1000번 노출당 지출하기 윈하는 희망가 (세부목표를 target_cpm으로 설정한 경우에만 유효함)

Required range: x >= 0
target_volume
number
default:0

캠페인 기간 내에 보장받을 노출수 (세부목표를 target_volume으로 설정한 경우에만 유효함)

Required range: x >= 0
updated_at
string<date-time> | null

변경 일시